/**
 * <p>
 * 弹窗配置
 *
 * @Author：Roy
 * @Description：预警管理
 * @Date：Create by 2023-12-15 11:20:26
 */
const popConfig = {
  'early-warning-record': {
    'early-warning-record-look': {
      popTitle: '预警详情',
      popType: 'OperateEarlyWarningRecord',
      visible: true,
      popConfig: {
        width: '50%',
        maxHeight: '5000px',
        destroy: true,
        disabled: true,
        popType: 'add',
        hideFooterBtn: true
      }
    },
    'early-warning-record-delete': {
      showType: 'confirm',
      confirmHeader: '提示',
      confirmContent: '确认删除XXX的配置信息？',
      splitProp: 'warningName',
      paramsProp: { id: 'id' },
      path: 'earlyWarningRecord.deleteById'
    },
    'early-warning-record-import': {
      popTitle: '导入',
      popType: 'AddFile',
      visible: true,
      popConfig: {
        width: '50%',
        hideFooterBtn: true,
        // 上传接口
        upLoadPath: '/energy-carbon/ecp-admin/earlyWarningRecord/upload',
        // 模板下载参数
        tplName: 'earlyWarningRecordRenderer'
      }
    },
    'early-warning-record-deleteBatch': {
      showType: 'confirm',
      dataType: 'multipleList',
      confirmHeader: '提示',
      confirmContent: '确认批量删除XXX的预警管理？',
      splitProp: 'name',
      paramsProp: { ids: 'id' },
      path: 'earlyWarningRecord.batchDelete'
    }
  }
}

export default {}
export { popConfig }
